package com.wry.spring.extension;

import javax.servlet.*;
import java.io.IOException;

/**
 * <h1>  </h1>
 *
 * @author wry
 * @since 2025.04.06
 */
public class MyFilter1 implements Filter {

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("过滤器 -> MyFilter1 处理...");
        System.out.println("过滤器 -> MyFilter1 处理完成 -> 请下一个处理");
        filterChain.doFilter(servletRequest,servletResponse);
    }
}
